/******************************************************************************
 * (c) 2011 Komersi Software                                                  *
 * www.komersisoftware.com                                                    *
 *                                                                            *
 * This file is part of Tadah                                                 *
 * Licensed under GNU General Public License v2.0                             *
 * Check LICENSE.TXT for more information                                     *
 ******************************************************************************/

#ifndef _VALIDATION_H_
#define _VALIDATION_H_

#endif //_VALIDATION_H_

int is_table_name_valid(const char *name);
int is_column_name_valid(const char *name);

char *generate_filename_table(const char *name);
char *generate_filename_ddl(const char *name);
char *generate_filename_primary_index(const char *name);

char *uppercase_string(const char *string);
char *generate_filename(const char *name, const char *extension);
